# 使用 Python 官方镜像作为基础
FROM python:3.10-slim


WORKDIR /app
ADD . /app


RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
RUN pip install --upgrade redis

CMD ["python3","main.py"]